﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Invent
{
    public partial class frmAddProject : Form
    {
        public string ProjectName;
        public DateTime StartDate;
        public DateTime EndDate;

        public frmAddProject()
        {
            InitializeComponent();
        }

        private void btnAddProj_Click(object sender, EventArgs e)
        {
            if (txtProjName.Text != "")
            {
                ProjectName = txtProjName.Text;
                StartDate = dtStartDate.Value;
                EndDate = dtEndDate.Value;
                this.Close();
            }
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
